﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="reNew.aspx.cs" Inherits="Customer_Profile.eCard.reNew" %>

<%@ Register Src="../mainTop.ascx" TagName="mainTop" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<HTML>
	<HEAD>
		<title>UsergroupModify</title>
		<LINK href="/css/style.css" type="text/css" rel="stylesheet">
        <script type="text/javascript">
            function popup() {
                window.open("cflowlist_bycardno.aspx?cardno=<%=cardno %>", "", "toolbar=no,height=450,width=800");
                return false;
            }
            </script>


</HEAD>
	<body  bgcolor="#ffffff" leftmargin="0" topmargin="0">
		<form id="Form1" method="post" runat="server">
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="1" background="/images/dot_vline.gif"><img src="/images/spacer.gif" width="1" height="1"></td>
					<td width="15" valign="top"><img src="/images/spacer.gif" width="15" height="1"></td>
					<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td><img src="/images/spacer.gif" width="1" height="5"></td>
							</tr>
							<tr>
								<td height="23"><span class="navi-blk">
                                    <uc1:mainTop ID="MainTop1" runat="server" />
										Menu>MenuID>Menu....</span></td>
							</tr>
							<tr>
								<td background="/images/dot_hline.gif"><img src="/images/spacer.gif" width="1" height="1"></td>
							</tr>
						</table>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td><img src="/images/spacer.gif" width="1" height="8"></td>
							</tr>
						</table>


                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td valign="top">
								
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td bgcolor="#1765a7"><img src="/images/spacer.gif" width="1" height="3"></td>
										</tr>
										<tr>
											<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="12" class="bglist1"><img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
														<td class="bglist1">原单信息</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td><img src="/images/spacer.gif" width="1" height="1"></td>
										</tr>
									</table>


                                     <asp:Repeater ID="rptOldDealInfo" runat="server">
                                        <HeaderTemplate>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="4">
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr>
											    <td class="bglist-3">产品名称：</td>
											    <td class="bglist-4">												
                                                    <%#Eval("cparty_name")%>
											    </td>
                                                <td class="bglist-3">备注：</td>
											    <td class="bglist-4">
												    <%#Eval("remark")%>
											    </td>
										    </tr>
                                            <tr>
											    <td class="bglist-3">是否续存：</td>
											    <td class="bglist-4">
                                                    <%#Eval("if_again")%>&nbsp;
                                                    续存期限：<%#Eval("again_period")%>
											    </td>
											    <td class="bglist-3">卡号：</td>
											    <td class="bglist-4">
												    <%#Eval("card_no")%>
											    </td>
										    </tr>
                                            <tr>
											    <td class="bglist-3">实收金额：</td>
											    <td class="bglist-4">
												    <%#Eval("real_count")%>
											    </td>
											    <td class="bglist-3">入库金额：</td>
											    <td class="bglist-4">
												     <%#Eval("incard_count")%>
											    </td>
										    </tr>
                                            <tr>
											    <td class="bglist-3">起息时间：</td>
											    <td class="bglist-4">
												    <%#Eval("value_date")%>
											    </td>
											    <td class="bglist-3">到期时间：</td>
											    <td class="bglist-4">
												    <%#Eval("due_date")%>
											    </td>
										    </tr>
                                             <tr>
											    <td class="bglist-3">售卡折扣：</td>
											    <td class="bglist-4">
												    <%#Eval("real_discount")%>
											    </td>
											    <td class="bglist-3">代理名称：</td>
											    <td class="bglist-4">
												   <%#Eval("sale_agent_name")%>
											    </td>
										    </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                        </table>
                                        </FooterTemplate>
                                    </asp:Repeater>
								</td>
							</tr>
						</table>

                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td><img src="/images/spacer.gif" width="1" height="8"></td>
							</tr>
						</table>

						<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td valign="top">
								
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td bgcolor="#1765a7"><img src="/images/spacer.gif" width="1" height="3"></td>
										</tr>
										<tr>
											<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="12" class="bglist1"><img src="/images/arw_blu_rgt.gif" width="4" height="7"></td>
														<td class="bglist1">续存信息录入</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td><img src="/images/spacer.gif" width="1" height="1"></td>
										</tr>
									</table>
                                   
									<table width="100%" border="0" cellspacing="0" cellpadding="4">
										<tr>
											<td class="bglist-3">产品名称：</td>
											<td class="bglist-4">												
                                                <asp:DropDownList ID="dropProd" runat="server" CssClass="input3"></asp:DropDownList>
											</td>
                                            <td class="bglist-3">备注：</td>
											<td class="bglist-4">
												<input name="name" type="text" class="input2" id="txtRemark" size="36" runat="server">
											</td>
										</tr>
                                        <tr>
											<td class="bglist-3">是否续存：</td>
											<td class="bglist-4">
                                                <asp:DropDownList ID="dropIfagain"  CssClass="input3" runat="server">
                                                <asp:ListItem Selected Text="否" Value="N"></asp:ListItem>
                                                <asp:ListItem  Text="是" Value="Y"></asp:ListItem>
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="dropProdAgain" runat="server" CssClass="input3"></asp:DropDownList>
											</td>
											<td class="bglist-3">卡号：</td>
											<td class="bglist-4">
												<input name="email" type="text" class="input2" id="txtCardno" size="36" runat="server">
                                                <asp:CheckBox ID="ifoldcard" runat="server" Text="原卡续存" />
											</td>
										</tr>
                                        <tr>
											<td class="bglist-3">实收金额：</td>
											<td class="bglist-4">
												<input name="name" type="text" class="input2" id="txtRealAmount" size="36" runat="server">
                                                <a onclick="return popup()" title="popup" href="#">账面查看</a>
											</td>
											<td class="bglist-3">入库金额：</td>
											<td class="bglist-4">
												<input name="email" type="text" class="input2" id="txtIncardAmount" size="36" runat="server">
											</td>
										</tr>
                                        <tr>
											<td class="bglist-3">起息时间：</td>
											<td class="bglist-4">
												<input name="name" type="text" class="input2" id="txtValueDate" size="36" runat="server">
											</td>
											<td class="bglist-3">到期时间：</td>
											<td class="bglist-4">
												<input name="email" type="text" class="input2" id="txtDueDate" size="36" runat="server">
											</td>
										</tr>
                                         <tr>
											<td class="bglist-3">售卡折扣：</td>
											<td class="bglist-4">
												<input name="name" type="text" class="input2" id="txtDiscount" size="36" runat="server">
											</td>
											<td class="bglist-3">代理信息：</td>
											<td class="bglist-4">
												<asp:DropDownList ID="dropIfAgent"  CssClass="input3" runat="server">
                                                <asp:ListItem Selected Text="否" Value="N"></asp:ListItem>
                                                <asp:ListItem  Text="是" Value="Y"></asp:ListItem>
                                                </asp:DropDownList>&nbsp;
                                                <asp:DropDownList ID="dropAgentName" runat="server" CssClass="input3"></asp:DropDownList>
											</td>
										</tr>
                                        <tr style="display:none">
											<td class="bglist-3">销售地区：</td>
											<td class="bglist-4">
                                                <asp:DropDownList ID="dropSaleEntity"  CssClass="input3" runat="server"></asp:DropDownList>
											</td>
											<td class="bglist-3">销售人员：</td>
											<td class="bglist-4">
												<input name="email" type="text" class="input2" id="txtDealer" size="36" runat="server">
											</td>
										</tr>
										<tr>
											<td colspan="4" class="bglist-3"><div align="right">
													<asp:Button ID="btnDealSave" runat="server" class="button" Text="保存" onclick="btnDealSave_Click" 
                                                         />&nbsp;
                                                    <asp:Button ID="Button3" runat="server" class="button" Text="后退" 
                                                         />&nbsp;                                                    
												</div>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>

					</td>
					<td width="10" valign="top"><img src="/images/spacer.gif" width="10" height="1"></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>